- The Dyson Airwrap is $120 off ahead of Black Friday - finally
- This 5-in-1 charging station replaced several desk accessories for me (and it's 33% off for Black Friday))
- The best Galaxy Z Flip 6 cases of 2024
- This retractable USB-C charger is my new favorite travel accessory (and it's on sale for Black Friday)
- Skip the iPad: This tablet is redefining what a kids tablet can do, and it's 42% off for Black Friday
How to flush the DNS cache in Linux
systemctl is-active systemd-resolved
sudo systemd-resolve --flush-caches
$ systemd-resolve --statistics
systemctl restart systemd-resolved.service
How to flush the DNS cache when using BIND
sudo rndc dumpdb -cache
sudo rndc flush
sudo cat /var/named/data/cache_dump.db
How to flush the DNS cache when using Dnsmasq
systemctl is-active dnsmasq
service dnsmasq status
sudo systemctl restart dnsmasq
sudo service dnsmasq restart
How to flush the DNS cache when using nscd
systemctl is-active nscd
service nscd status
sudo nscd --invalidate=hosts
sudo nscd -g
$ sudo nscd -g